<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="wilmar" uri="/wilmar-process"%>
<html>
<head>
<title>test</title>
<wilmar:process.head ui="true" />
</head>
<body>
<center><wilmar:process.logo /></center>
<br>
<center>Welcome To Wilmar-Helpdesk-Workflow-System!</center>
<br>

<s:form namespace="/process" action="simpleSystemLoginAction!doLogin"
	method="post">
UserName:<s:textfield name="userName" value="ua" />
	<br>
UserEmail:<s:textfield name="userEmail" value="makubexnet@gmail.com" />
	<br>
UserRole:<s:textfield name="userRole" value="rolea,roleb" />
	<br>
UserOrg:<s:textfield name="userOrg" value="orga,orgb" />
	<br>
	<s:submit />
	<s:reset />
</s:form>

<a href="#" onclick="var workflowId=prompt('请输入流程名称！');if (workflowId.length > 0){location='designer/workflowDesign.jsp?workflowId=' + workflowId}" >designer</a>
|
<s:url action="processDefinitionAction" namespace="/process"
	method="doGetDefinitionList" id="u_pdlist" />
<s:a href="%{u_pdlist}">pdlist</s:a>
|
<s:url action="processInstanceAction" namespace="/process"
	method="doSearchForward" id="u_pilist">
</s:url>
<s:a href="%{u_pilist}">pisearch</s:a>
|
<s:url action="taskInstanceAction" namespace="/process"
	method="doTakenTaskSearchForward" id="u_tktlist">
</s:url>
<s:a href="%{u_tktlist}">tisearch(taken)</s:a>
|
<s:url id="u_uatlist" action="taskInstanceAction" namespace="/process"
	method="doUnassignTaskSearchForward">
</s:url>
<s:a href="%{u_uatlist}">tisearch(untaken)</s:a>
|
<s:url id="u_htilist" action="taskInstanceAction" namespace="/process"
 method="doSearchHistoryTaskForward">
</s:url>  
<s:a href="%{u_htilist}">htisearch</s:a>
|
<s:url action="processDefinitionAction" namespace="/process"
	method="doDeployForward" id="u_deploy" />
<s:a href="%{u_deploy}">deploy</s:a>
|
<s:url action="processDefinitionAction" namespace="/process"
	method="doGetAuthorityList" id="u_authorityList"></s:url>
<s:a href="%{u_authorityList}">authority</s:a>
|

<br>
</body>
</html>